package exercicis_t3_java.tema3_part1;

public class ex01 {

	public static void main(String[] args) {
		int a = 2, b = 3, c = 5;
		a++;
		b += a;
		c *= b;
		b -= 3;
		a %= 2;
		c /= 5;
		System.out.println("A)");
		System.out.println("a: "+ a +" , b: " +b+" , c: "+c);
		
		a = 1;
		b = 2;
		b++;
		b = ++a;
		a *= 2;
		b += a;
		a = ++b + 2;
		System.out.println("B)");
		System.out.println("a: "+ a +" , b: " +b);
		
		a = 3;
		b = 4;
		int d;
		a++;
		b = ++a;
		d = b / 2;
		d--;
		b = d++;
		--b;
		System.out.println("C)");
		System.out.println("a: "+ a +" , b: " +b+" , d: "+d);
		
		
		
		
	}

}
